/*
 * @Description:
 * @version:
 * @Author: 潘骏杰
 * @Date: 2021-11-23 16:41:39
 * @LastEditors: 潘骏杰
 * @LastEditTime: 2021-12-30 17:16:22
 */
const plugins = []
if (process.env.NODE_ENV === 'production') {
  // todo  if判断是否打包,打包环境下控制台去掉console.log,也可去掉if判断，整个项目不会出现console.log(不建议)
  plugins.push('transform-remove-console')
}
module.exports = {
  presets: ['@vue/app'],
  plugins: plugins
}
